<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:forgeview="http://jboss.org/forge/view"	
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysAddrTypeBean.id}"/>
		<f:event type="preRenderView" listener="#{sysAddrTypeBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Create Sys Addr Type"/>

	<ui:define name="header">
		Sys Addr Type
	</ui:define>

	<ui:define name="subheader">
		<c:choose>
			<c:when test="#{!empty sysAddrTypeBean.id}">
				Edit existing Sys Addr Type
			</c:when>
			<c:otherwise>
				Create a new Sys Addr Type
			</c:otherwise>
		</c:choose>
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="create">
			<h:messages globalOnly="true" styleClass="error"/>

			<h:panelGrid columnClasses="label,component,required" columns="3">
				<h:outputLabel for="sysAddrTypeBeanSysAddrTypeAddrTypeNo" value="Addr Type No:"/>
				<h:panelGroup>
					<h:inputText id="sysAddrTypeBeanSysAddrTypeAddrTypeNo" required="true" value="#{sysAddrTypeBean.sysAddrType.addrTypeNo}"/>
					<h:message for="sysAddrTypeBeanSysAddrTypeAddrTypeNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="sysAddrTypeBeanSysAddrTypeAddrTypeDescr" value="Addr Type Descr:"/>
				<h:panelGroup>
					<h:inputText id="sysAddrTypeBeanSysAddrTypeAddrTypeDescr" maxLength="100" value="#{sysAddrTypeBean.sysAddrType.addrTypeDescr}"/>
					<h:message for="sysAddrTypeBeanSysAddrTypeAddrTypeDescr" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysAddrTypeBeanSysAddrTypePcPurchaseOrderSupplierAddrs" value="Pc Purchase Order Supplier Addrs:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysAddrTypeBean.sysAddrType.pcPurchaseOrderSupplierAddrs}"/>
					<h:dataTable id="sysAddrTypeBeanSysAddrTypePcPurchaseOrderSupplierAddrs" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Addr 01"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrderSupplierAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysAddr01Bean.converter}" id="pcPurchaseOrderSupplierAddrBeanAddSysAddr01" value="#{pcPurchaseOrderSupplierAddrBean.add.sysAddr01}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysAddr01Bean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="pcPurchaseOrderSupplierAddrBeanAddSysAddr01" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pc Purchase Order"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrderSupplierAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemPcPurchaseOrder" value="#{forgeview:display(_item.pcPurchaseOrder)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{pcPurchaseOrderBean.converter}" id="pcPurchaseOrderSupplierAddrBeanAddPcPurchaseOrder" value="#{pcPurchaseOrderSupplierAddrBean.add.pcPurchaseOrder}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{pcPurchaseOrderBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="pcPurchaseOrderSupplierAddrBeanAddPcPurchaseOrder" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Po Supplier Addr No"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrderSupplierAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPoSupplierAddrNo" value="#{_item.poSupplierAddrNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseOrderSupplierAddrBeanAddPoSupplierAddrNo" maxLength="20" value="#{pcPurchaseOrderSupplierAddrBean.add.poSupplierAddrNo}"/>
								<h:message for="pcPurchaseOrderSupplierAddrBeanAddPoSupplierAddrNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Po Supplier Addr Moo"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrderSupplierAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPoSupplierAddrMoo" value="#{_item.poSupplierAddrMoo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseOrderSupplierAddrBeanAddPoSupplierAddrMoo" maxLength="10" value="#{pcPurchaseOrderSupplierAddrBean.add.poSupplierAddrMoo}"/>
								<h:message for="pcPurchaseOrderSupplierAddrBeanAddPoSupplierAddrMoo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Po Supplier Addr Soi"/>
							</f:facet>
							<h:link outcome="/pcPurchaseOrderSupplierAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPoSupplierAddrSoi" value="#{_item.poSupplierAddrSoi}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="pcPurchaseOrderSupplierAddrBeanAddPoSupplierAddrSoi" maxLength="100" value="#{pcPurchaseOrderSupplierAddrBean.add.poSupplierAddrSoi}"/>
								<h:message for="pcPurchaseOrderSupplierAddrBeanAddPoSupplierAddrSoi" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(pcPurchaseOrderSupplierAddrBean.added)}" id="sysAddrTypeBeanSysAddrTypePcPurchaseOrderSupplierAddrsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{pcPurchaseOrderSupplierAddrBean.add.sysAddrType}" value="#{sysAddrTypeBean.sysAddrType}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysAddrTypeBeanSysAddrTypeSdCustUserAddrs" value="Sd Cust User Addrs:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysAddrTypeBean.sysAddrType.sdCustUserAddrs}"/>
					<h:dataTable id="sysAddrTypeBeanSysAddrTypeSdCustUserAddrs" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sd Cust"/>
							</f:facet>
							<h:link outcome="/sdCustUserAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSdCust" value="#{forgeview:display(_item.sdCust)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sdCustBean.converter}" id="sdCustUserAddrBeanAddSdCust" value="#{sdCustUserAddrBean.add.sdCust}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sdCustBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="sdCustUserAddrBeanAddSdCust" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Addr 01"/>
							</f:facet>
							<h:link outcome="/sdCustUserAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysAddr01Bean.converter}" id="sdCustUserAddrBeanAddSysAddr01" value="#{sdCustUserAddrBean.add.sysAddr01}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysAddr01Bean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="sdCustUserAddrBeanAddSysAddr01" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Cust User Addr No"/>
							</f:facet>
							<h:link outcome="/sdCustUserAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCustUserAddrNo" value="#{_item.custUserAddrNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sdCustUserAddrBeanAddCustUserAddrNo" maxLength="20" value="#{sdCustUserAddrBean.add.custUserAddrNo}"/>
								<h:message for="sdCustUserAddrBeanAddCustUserAddrNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Cust User Addr Moo"/>
							</f:facet>
							<h:link outcome="/sdCustUserAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCustUserAddrMoo" value="#{_item.custUserAddrMoo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sdCustUserAddrBeanAddCustUserAddrMoo" maxLength="10" value="#{sdCustUserAddrBean.add.custUserAddrMoo}"/>
								<h:message for="sdCustUserAddrBeanAddCustUserAddrMoo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Cust User Addr Soi"/>
							</f:facet>
							<h:link outcome="/sdCustUserAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCustUserAddrSoi" value="#{_item.custUserAddrSoi}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sdCustUserAddrBeanAddCustUserAddrSoi" maxLength="100" value="#{sdCustUserAddrBean.add.custUserAddrSoi}"/>
								<h:message for="sdCustUserAddrBeanAddCustUserAddrSoi" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(sdCustUserAddrBean.added)}" id="sysAddrTypeBeanSysAddrTypeSdCustUserAddrsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{sdCustUserAddrBean.add.sysAddrType}" value="#{sysAddrTypeBean.sysAddrType}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysAddrTypeBeanSysAddrTypeHrEmpAddrs" value="Hr Emp Addrs:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysAddrTypeBean.sysAddrType.hrEmpAddrs}"/>
					<h:dataTable id="sysAddrTypeBeanSysAddrTypeHrEmpAddrs" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Hr Emp"/>
							</f:facet>
							<h:link outcome="/hrEmpAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemHrEmp" value="#{forgeview:display(_item.hrEmp)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{hrEmpBean.converter}" id="hrEmpAddrBeanAddHrEmp" value="#{hrEmpAddrBean.add.hrEmp}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{hrEmpBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="hrEmpAddrBeanAddHrEmp" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Addr 01"/>
							</f:facet>
							<h:link outcome="/hrEmpAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysAddr01Bean.converter}" id="hrEmpAddrBeanAddSysAddr01" value="#{hrEmpAddrBean.add.sysAddr01}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysAddr01Bean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="hrEmpAddrBeanAddSysAddr01" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Emp Addr No"/>
							</f:facet>
							<h:link outcome="/hrEmpAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemEmpAddrNo" value="#{_item.empAddrNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="hrEmpAddrBeanAddEmpAddrNo" maxLength="20" value="#{hrEmpAddrBean.add.empAddrNo}"/>
								<h:message for="hrEmpAddrBeanAddEmpAddrNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Emp Addr Moo"/>
							</f:facet>
							<h:link outcome="/hrEmpAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemEmpAddrMoo" value="#{_item.empAddrMoo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="hrEmpAddrBeanAddEmpAddrMoo" maxLength="10" value="#{hrEmpAddrBean.add.empAddrMoo}"/>
								<h:message for="hrEmpAddrBeanAddEmpAddrMoo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Emp Addr Soi"/>
							</f:facet>
							<h:link outcome="/hrEmpAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemEmpAddrSoi" value="#{_item.empAddrSoi}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="hrEmpAddrBeanAddEmpAddrSoi" maxLength="100" value="#{hrEmpAddrBean.add.empAddrSoi}"/>
								<h:message for="hrEmpAddrBeanAddEmpAddrSoi" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(hrEmpAddrBean.added)}" id="sysAddrTypeBeanSysAddrTypeHrEmpAddrsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{hrEmpAddrBean.add.sysAddrType}" value="#{sysAddrTypeBean.sysAddrType}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysAddrTypeBeanSysAddrTypeMmSupplierAddrs" value="Mm Supplier Addrs:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysAddrTypeBean.sysAddrType.mmSupplierAddrs}"/>
					<h:dataTable id="sysAddrTypeBeanSysAddrTypeMmSupplierAddrs" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Mm Supplier"/>
							</f:facet>
							<h:link outcome="/mmSupplierAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemMmSupplier" value="#{forgeview:display(_item.mmSupplier)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{mmSupplierBean.converter}" id="mmSupplierAddrBeanAddMmSupplier" value="#{mmSupplierAddrBean.add.mmSupplier}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{mmSupplierBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="mmSupplierAddrBeanAddMmSupplier" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Addr 01"/>
							</f:facet>
							<h:link outcome="/mmSupplierAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysAddr01Bean.converter}" id="mmSupplierAddrBeanAddSysAddr01" value="#{mmSupplierAddrBean.add.sysAddr01}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysAddr01Bean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="mmSupplierAddrBeanAddSysAddr01" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Supplier Addr No"/>
							</f:facet>
							<h:link outcome="/mmSupplierAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemSupplierAddrNo" value="#{_item.supplierAddrNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="mmSupplierAddrBeanAddSupplierAddrNo" maxLength="20" value="#{mmSupplierAddrBean.add.supplierAddrNo}"/>
								<h:message for="mmSupplierAddrBeanAddSupplierAddrNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Supplier Addr Moo"/>
							</f:facet>
							<h:link outcome="/mmSupplierAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemSupplierAddrMoo" value="#{_item.supplierAddrMoo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="mmSupplierAddrBeanAddSupplierAddrMoo" maxLength="10" value="#{mmSupplierAddrBean.add.supplierAddrMoo}"/>
								<h:message for="mmSupplierAddrBeanAddSupplierAddrMoo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Supplier Addr Soi"/>
							</f:facet>
							<h:link outcome="/mmSupplierAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemSupplierAddrSoi" value="#{_item.supplierAddrSoi}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="mmSupplierAddrBeanAddSupplierAddrSoi" maxLength="100" value="#{mmSupplierAddrBean.add.supplierAddrSoi}"/>
								<h:message for="mmSupplierAddrBeanAddSupplierAddrSoi" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(mmSupplierAddrBean.added)}" id="sysAddrTypeBeanSysAddrTypeMmSupplierAddrsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{mmSupplierAddrBean.add.sysAddrType}" value="#{sysAddrTypeBean.sysAddrType}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysAddrTypeBeanSysAddrTypeSdCustAddrs" value="Sd Cust Addrs:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysAddrTypeBean.sysAddrType.sdCustAddrs}"/>
					<h:dataTable id="sysAddrTypeBeanSysAddrTypeSdCustAddrs" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sd Cust"/>
							</f:facet>
							<h:link outcome="/sdCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSdCust" value="#{forgeview:display(_item.sdCust)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sdCustBean.converter}" id="sdCustAddrBeanAddSdCust" value="#{sdCustAddrBean.add.sdCust}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sdCustBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="sdCustAddrBeanAddSdCust" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Addr 01"/>
							</f:facet>
							<h:link outcome="/sdCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysAddr01Bean.converter}" id="sdCustAddrBeanAddSysAddr01" value="#{sdCustAddrBean.add.sysAddr01}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysAddr01Bean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="sdCustAddrBeanAddSysAddr01" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Cust Addr No"/>
							</f:facet>
							<h:link outcome="/sdCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCustAddrNo" value="#{_item.custAddrNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sdCustAddrBeanAddCustAddrNo" maxLength="20" value="#{sdCustAddrBean.add.custAddrNo}"/>
								<h:message for="sdCustAddrBeanAddCustAddrNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Cust Addr Moo"/>
							</f:facet>
							<h:link outcome="/sdCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCustAddrMoo" value="#{_item.custAddrMoo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sdCustAddrBeanAddCustAddrMoo" maxLength="10" value="#{sdCustAddrBean.add.custAddrMoo}"/>
								<h:message for="sdCustAddrBeanAddCustAddrMoo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Cust Addr Soi"/>
							</f:facet>
							<h:link outcome="/sdCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCustAddrSoi" value="#{_item.custAddrSoi}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sdCustAddrBeanAddCustAddrSoi" maxLength="100" value="#{sdCustAddrBean.add.custAddrSoi}"/>
								<h:message for="sdCustAddrBeanAddCustAddrSoi" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(sdCustAddrBean.added)}" id="sysAddrTypeBeanSysAddrTypeSdCustAddrsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{sdCustAddrBean.add.sysAddrType}" value="#{sysAddrTypeBean.sysAddrType}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysAddrTypeBeanSysAddrTypeSdSaleOrderCustAddrs" value="Sd Sale Order Cust Addrs:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysAddrTypeBean.sysAddrType.sdSaleOrderCustAddrs}"/>
					<h:dataTable id="sysAddrTypeBeanSysAddrTypeSdSaleOrderCustAddrs" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Addr 01"/>
							</f:facet>
							<h:link outcome="/sdSaleOrderCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysAddr01Bean.converter}" id="sdSaleOrderCustAddrBeanAddSysAddr01" value="#{sdSaleOrderCustAddrBean.add.sysAddr01}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysAddr01Bean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="sdSaleOrderCustAddrBeanAddSysAddr01" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sd Sale Order"/>
							</f:facet>
							<h:link outcome="/sdSaleOrderCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSdSaleOrder" value="#{forgeview:display(_item.sdSaleOrder)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sdSaleOrderBean.converter}" id="sdSaleOrderCustAddrBeanAddSdSaleOrder" value="#{sdSaleOrderCustAddrBean.add.sdSaleOrder}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sdSaleOrderBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="sdSaleOrderCustAddrBeanAddSdSaleOrder" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="So Cust Addr No"/>
							</f:facet>
							<h:link outcome="/sdSaleOrderCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemSoCustAddrNo" value="#{_item.soCustAddrNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sdSaleOrderCustAddrBeanAddSoCustAddrNo" maxLength="20" value="#{sdSaleOrderCustAddrBean.add.soCustAddrNo}"/>
								<h:message for="sdSaleOrderCustAddrBeanAddSoCustAddrNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="So Cust Addr Moo"/>
							</f:facet>
							<h:link outcome="/sdSaleOrderCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemSoCustAddrMoo" value="#{_item.soCustAddrMoo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sdSaleOrderCustAddrBeanAddSoCustAddrMoo" maxLength="10" value="#{sdSaleOrderCustAddrBean.add.soCustAddrMoo}"/>
								<h:message for="sdSaleOrderCustAddrBeanAddSoCustAddrMoo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="So Cust Addr Soi"/>
							</f:facet>
							<h:link outcome="/sdSaleOrderCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemSoCustAddrSoi" value="#{_item.soCustAddrSoi}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sdSaleOrderCustAddrBeanAddSoCustAddrSoi" maxLength="100" value="#{sdSaleOrderCustAddrBean.add.soCustAddrSoi}"/>
								<h:message for="sdSaleOrderCustAddrBeanAddSoCustAddrSoi" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(sdSaleOrderCustAddrBean.added)}" id="sysAddrTypeBeanSysAddrTypeSdSaleOrderCustAddrsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{sdSaleOrderCustAddrBean.add.sysAddrType}" value="#{sysAddrTypeBean.sysAddrType}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysAddrTypeBeanSysAddrTypeSdQuotationCustAddrs" value="Sd Quotation Cust Addrs:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysAddrTypeBean.sysAddrType.sdQuotationCustAddrs}"/>
					<h:dataTable id="sysAddrTypeBeanSysAddrTypeSdQuotationCustAddrs" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Addr 01"/>
							</f:facet>
							<h:link outcome="/sdQuotationCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysAddr01Bean.converter}" id="sdQuotationCustAddrBeanAddSysAddr01" value="#{sdQuotationCustAddrBean.add.sysAddr01}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysAddr01Bean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="sdQuotationCustAddrBeanAddSysAddr01" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sd Quotation"/>
							</f:facet>
							<h:link outcome="/sdQuotationCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSdQuotation" value="#{forgeview:display(_item.sdQuotation)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sdQuotationBean.converter}" id="sdQuotationCustAddrBeanAddSdQuotation" value="#{sdQuotationCustAddrBean.add.sdQuotation}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sdQuotationBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="sdQuotationCustAddrBeanAddSdQuotation" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Qt Cust Addr No"/>
							</f:facet>
							<h:link outcome="/sdQuotationCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemQtCustAddrNo" value="#{_item.qtCustAddrNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sdQuotationCustAddrBeanAddQtCustAddrNo" maxLength="20" value="#{sdQuotationCustAddrBean.add.qtCustAddrNo}"/>
								<h:message for="sdQuotationCustAddrBeanAddQtCustAddrNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Qt Cust Addr Moo"/>
							</f:facet>
							<h:link outcome="/sdQuotationCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemQtCustAddrMoo" value="#{_item.qtCustAddrMoo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sdQuotationCustAddrBeanAddQtCustAddrMoo" maxLength="10" value="#{sdQuotationCustAddrBean.add.qtCustAddrMoo}"/>
								<h:message for="sdQuotationCustAddrBeanAddQtCustAddrMoo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Qt Cust Addr Soi"/>
							</f:facet>
							<h:link outcome="/sdQuotationCustAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemQtCustAddrSoi" value="#{_item.qtCustAddrSoi}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sdQuotationCustAddrBeanAddQtCustAddrSoi" maxLength="100" value="#{sdQuotationCustAddrBean.add.qtCustAddrSoi}"/>
								<h:message for="sdQuotationCustAddrBeanAddQtCustAddrSoi" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(sdQuotationCustAddrBean.added)}" id="sysAddrTypeBeanSysAddrTypeSdQuotationCustAddrsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{sdQuotationCustAddrBean.add.sysAddrType}" value="#{sysAddrTypeBean.sysAddrType}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysAddrTypeBeanSysAddrTypeSysCompanyAddrs" value="Sys Company Addrs:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{sysAddrTypeBean.sysAddrType.sysCompanyAddrs}"/>
					<h:dataTable id="sysAddrTypeBeanSysAddrTypeSysCompanyAddrs" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Addr 01"/>
							</f:facet>
							<h:link outcome="/sysCompanyAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysAddr01Bean.converter}" id="sysCompanyAddrBeanAddSysAddr01" value="#{sysCompanyAddrBean.add.sysAddr01}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysAddr01Bean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="sysCompanyAddrBeanAddSysAddr01" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Sys Company"/>
							</f:facet>
							<h:link outcome="/sysCompanyAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="forgeviewdisplayitemSysCompany" value="#{forgeview:display(_item.sysCompany)}"/>
							</h:link>
							<f:facet name="footer">
								<h:selectOneMenu converter="#{sysCompanyBean.converter}" id="sysCompanyAddrBeanAddSysCompany" value="#{sysCompanyAddrBean.add.sysCompany}">
									<f:selectItem/>
									<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysCompanyBean.all}" var="_item"/>
								</h:selectOneMenu>
								<h:message for="sysCompanyAddrBeanAddSysCompany" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Com Addr No"/>
							</f:facet>
							<h:link outcome="/sysCompanyAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemComAddrNo" value="#{_item.comAddrNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysCompanyAddrBeanAddComAddrNo" maxLength="20" value="#{sysCompanyAddrBean.add.comAddrNo}"/>
								<h:message for="sysCompanyAddrBeanAddComAddrNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Com Addr Moo"/>
							</f:facet>
							<h:link outcome="/sysCompanyAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemComAddrMoo" value="#{_item.comAddrMoo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysCompanyAddrBeanAddComAddrMoo" maxLength="10" value="#{sysCompanyAddrBean.add.comAddrMoo}"/>
								<h:message for="sysCompanyAddrBeanAddComAddrMoo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Com Addr Soi"/>
							</f:facet>
							<h:link outcome="/sysCompanyAddr/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemComAddrSoi" value="#{_item.comAddrSoi}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="sysCompanyAddrBeanAddComAddrSoi" maxLength="100" value="#{sysCompanyAddrBean.add.comAddrSoi}"/>
								<h:message for="sysCompanyAddrBeanAddComAddrSoi" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(sysCompanyAddrBean.added)}" id="sysAddrTypeBeanSysAddrTypeSysCompanyAddrsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{sysCompanyAddrBean.add.sysAddrType}" value="#{sysAddrTypeBean.sysAddrType}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
			</h:panelGrid>

			<div class="buttons">
				<h:commandLink value="Save" action="#{sysAddrTypeBean.update}" styleClass="btn btn-primary"/>
				<c:choose>
					<c:when test="#{!empty sysAddrTypeBean.id}">
						<h:link value="Cancel" outcome="view" styleClass="btn btn-primary">
							<f:param name="id" value="#{sysAddrTypeBean.id}"/>
						</h:link>
						<h:commandLink value="Delete" action="#{sysAddrTypeBean.delete}" styleClass="btn btn-primary"/>
					</c:when>
					<c:otherwise>
						<h:link value="Cancel" outcome="search" styleClass="btn btn-primary"/>
					</c:otherwise>
				</c:choose>
			</div>
		</h:form>
	</ui:define>

</ui:composition>